﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EntityModel
{
    public class DZJDBcontext : DbContext

    {
        public DZJDBcontext(DbContextOptions<DZJDBcontext> opts) : base(opts)
        { 
              
        } 
          
        public DbSet<EM_Account> EM_Account { get; set; }

        public DbSet<EM_Bulid> EM_Bulid { get; set; }

        public DbSet<EM_Student> EM_Student { get; set; }

        public DbSet<EM_Teacher> EM_Teacher { get; set; }

        public DbSet <EM_Activitie> EM_Activitie { get; set; }

        public DbSet <EM_Tool> EM_Tool { get; set; }

        public DbSet<EM_Financial> EM_Financial { get; set; }

        public DbSet <EM_Club> EM_Club { get; set; }

        public DbSet<EM_Collective> EM_Collective { get; set; }

        public DbSet<EM_Hostel> EM_Hostel { get; set; }

        public DbSet<EM_Canteen> EM_Canteen { get; set; }

        public DbSet<EM_Library> EM_Library { get; set; } 

    }
}
